#include "Utility.h"

namespace Utility
{
	std::string IntToString(int num)
	{
		std::string res, str;
		res.clear();
		str.clear();
		do {
			str += num % 10 + 48;
		} while ((num /= 10) != 0);

		int len = str.length();
		for (int i = 0; i < len; i++) {
			res += str[len - i - 1];
		}

		return res;
	}
}